textview: remove osd style class from touch selection popover
authorLapo Calamandrei <calamandrei@gmail.com>
Sat, 15 Nov 2014 15:09:39 +0000 (16:09 +0100)
committerLapo Calamandrei <calamandrei@gmail.com>
Sat, 15 Nov 2014 15:09:39 +0000 (16:09 +0100)
The touch-selection class is sufficient since that needs special
casing whatever.

gtk/gtktextview.c

index f10a81b4fc711199956559bf3937e3d0a6be050f..59fb2e1bf0aee972b7af371d48a3936ebe5c9398 100644 (file)
@@ -9036,8 +9036,6 @@ bubble_targets_received (GtkClipboard     *clipboard,
     gtk_widget_destroy (priv->selection_bubble);
 
   priv->selection_bubble = gtk_popover_new (GTK_WIDGET (text_view));
-  gtk_style_context_add_class (gtk_widget_get_style_context (priv->selection_bubble),
-                               GTK_STYLE_CLASS_OSD);
   gtk_style_context_add_class (gtk_widget_get_style_context (priv->selection_bubble),
                                GTK_STYLE_CLASS_TOUCH_SELECTION);
   gtk_popover_set_position (GTK_POPOVER (priv->selection_bubble),